Include gtk/gtk-a11y.h in introspection file.
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Sat, 3 Mar 2018 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Sat, 3 Mar 2018 19:51:30 +0000 (20:51 +0100)
The gir XML file contains description of types and functions from
gtk/gtk-a11y.h. Indicate that this header should be included in addition
to gtk/gtk.h in applications written in C. #56

gtk/meson.build

index 43e3c1daaaa211080fe5a51e2a926b80da3222f1..3acc924de3679af2e2140b4ac330077a6db18bb9 100644 (file)
@@ -1045,6 +1045,7 @@ if build_gir
                                dependencies: gsk_gir_dep,
                                extra_args: gir_args + [
                                  '-DGTK_COMPILATION',
+                                 '--c-include=gtk/gtk-a11y.h',
                                ])
   gtk_dep_sources += gtk_gir
 endif